<ion-view view-title="拍卖" class="myworld_auction">

<ion-content scroll="false">
    <div class="row text-center font-large-my padding-0">
        <div class="col" on-tap="activeSlide(0)" ng-class="selectIndex==0?'top-activated':''">
         <img src="img/group1.png" /><br />
            活动设置
        </div>
        <div class="col" on-tap="activeSlide(1)" ng-class="selectIndex==1?'top-activated':''">
           <img src="img/group2.png" /><br />
             拍卖商品
        </div>
        <div class="col" on-tap="activeSlide(2)" ng-class="selectIndex==2?'top-activated':''">
           <img src="img/group1.png" /><br />
             拍卖对象
        </div>
    </div>

    <ion-slide-box delegate-handle="main-handle" on-slide-changed="slideChanged(index)" active-slide="slideIndex" show-pager="false">
    <ion-slide>
        <ion-scroll direction="y" ng-style="myObj" lazy-scroll>
            <!--描述：下拉刷新-->
           <!-- <ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>-->
          <div class="list list-borderless">
             <li class="item padding-10 text-center"  style="color: black;">
            发起营销活动（拍卖）
             </li>
            <li class="item item-input">
              活动名称：{{activity.name}}
           </li>
            <li class="item item-input">
              开始时间：{{activity.start_time}}
           </li>
             <li class="item item-input">
              结束时间：{{activity.end_time}}
           </li>
            <!--<li class="item item-input">
                上传图片：
            <a class="add input-file" href="javascript:void(0);"><span class="icon ion-plus"></span><input size="100" type="file"></a>
           </li>-->
             <li class="item padding-0">
                <div class="row padding-0">
                    <div class="col col-25">
                        上传图片：
                    </div>
                    <div class="col col-25 item-image" ng-repeat="img in activity.image">
                        <img src="{{img.image}}" />
                    </div>
                </div>
           </li>
           <li class="item item-input">
            品牌：{{activity.brand_name}}
         </li>
            <li class="item item-input" ng-repeat="pl in activity.cat_type">
                <span  ng-class="{'invisible':$index>0}">已选品类：</span>{{pl.name}}
            </li>
       </div>

            <!--描述：当用户到达页脚或页脚附近时-->
           <!-- <ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>-->
        </ion-scroll>
    </ion-slide>


    <ion-slide>
        <ion-scroll direction="y" ng-style="myObj" lazy-scroll>
            <!--描述：下拉刷新-->
            <!--<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>-->
            <!--描述：列表-->
            <div class="list">
                 <li class="item item-thumbnail-left item-text-wrap" style="padding-right:5px;" >
                     <img src="{{dealer.image}}" />
                     <p>{{dealer.goods_name}}</p>
                     <p>
                    <span class="left-zhang assertive">起拍价:</span>
                    <div ng-show="dealer.change_price"><!--可修改-->
                        <input type="text" class="left-zhang stable-bg shuru_zhang" ng-model="dealer.start_price" />
                        <input type="text" class="right-zhang stable-bg shuru_zhang" ng-model="dealer.add_price"/>
                    </div>
                     <div ng-show="!dealer.change_price"><!--不可修改-->
                        <input type="text" class="left-zhang stable-bg shuru_zhang" ng-model="dealer.start_price" readonly="readonly"/>
                        <input type="text" class="right-zhang stable-bg shuru_zhang" ng-model="dealer.add_price" readonly="readonly"/>
                    </div>
                     <span class="right-zhang assertive">加价幅度:</span>
                   </p>
                 <div class="clear_zhang"></div>
                <p class="margin-top-10-my">
                   <span class="left-zhang">保证金:{{dealer.margin_price}}</span>
                  <span class="right-zhang">数量:{{dealer.count}}</span>
                </p>
             </li>
            </div>
            <div class="padding">
                <button class="button button-assertive button-block"> 保存</button>
            </div>
            <!--描述：当用户到达页脚或页脚附近时-->
           <!-- <ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>-->
        </ion-scroll>
    </ion-slide>


    <ion-slide>
        <ion-scroll direction="y" ng-style="myObj" lazy-scroll>

            <div class="list">
                    <li class="item item-input-inset">
                            区域
                            <div class="input-value" ng-click="doSelectRegion()">{{scope.choose_select.region_name}}</div>
                        </li>
    <li class="item item-stable item-input-inset">
        请选择加盟店
        <label class="checkbox checkbox-square padding-0 checkbox-assertive" style="position:absolute;right:10px;" >
                <input type="checkbox" ng-model="scope.is_all" on-tap="select_all(scope.is_all)"/>
        </label>
    </li>
    <ion-checkbox ng-repeat="store in store" ng-model="store.checked" class="checkbox-assertive padding-left" on-tap="checked(store.store_id)" >{{store.store_name}}</ion-checkbox>

</div>

<div class="button-bar padding">
    <button class="button  button-assertive" href="#/tab/home">取消</button>
    <button class="button  button-positive col-offset-10" on-tap="get_third()">保存</button>
</div>
 <div class="list list-borderless">
        <li class="item padding-10 text-center" style="color: black;">
                已选择授权中心
            </li>
            <div ng-repeat="region in show_region">
            <hr />
           <li class="item item-input" >
            <span >区域：</span> {{region.region_name}}<i class="icon ion-minus-circled assertive font-1rem-my" on-tap="delete_region($index)"></i>
           </li>
            <li class="item item-input item-icon-right" ng-repeat="store in region.store">
            <span ng-class="{invisible:$index>0}"> 授权中心名称：</span>{{store.store_name}}<i class="icon ion-minus-circled assertive font-1rem-my" on-tap="delete_store(region.region_name,$index)"></i>
           </li>
           <!--<li class="item item-input">
              是否允许改价：{{store.change_price}}
           </li>-->
            </div>

    </div>

            <!--描述：当用户到达页脚或页脚附近时-->
           <!-- <ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>-->
        </ion-scroll>
    </ion-slide>

    </ion-slide-box>
  </ion-content>
</ion-view>